[ESP32] CAN bus and MOD bus master RTU. · Issue #5087 · micropython/micropython · GitHub

您所在的位置:网站首页 esp32 canbus [ESP32] CAN bus and MOD bus master RTU. · Issue #5087 · micropython/micropython · GitHub

[ESP32] CAN bus and MOD bus master RTU. · Issue #5087 · micropython/micropython · GitHub

#[ESP32] CAN bus and MOD bus master RTU. · Issue #5087 · micropython/micropython · GitHub| 来源: 网络整理| 查看: 265

@nos86 I can definitely help with that.

First I compiled a new .bin from your master and have encountered the same issue @skpang reported above.

it seems to go into an infinite boot loop with the following error:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3f400020,len:234340 ets Jun 8 2016 00:22:57

I then realized the master branch has no machine_can.c so I checked out esp32-can-driver and tried to compile again. However I'm unable to complete as it gets interrupted by the following error:

CC machine_can.c machine_can.c: In function 'machine_hw_can_recv': machine_can.c:301:51: error: 'MP_ROM_NONE' undeclared { MP_QSTR_list, MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, machine_can.c:301:51: note: each undeclared identifier is reported only once for each function it appears in make: *** [../../py/mkrules.mk:47: build-GENERIC/machine_can.o] Error 1



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3